@import '~@common/css/_variables.scss';

div,
ul,
li,
p {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  cursor: default;
  user-select: none;
}

body {
  position: relative;
  font-size: 14px;
  color: #373737;

  &::after {
    position: absolute;
    right: 2px;
    bottom: 2px;
    z-index: 2;
    width: 10px;
    height: 10px;
    background: url('~@images/icon_drag_drop.svg') center center / 10px no-repeat;
    content: '';
  }
}

.artists {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;

  i {
    max-height: 16px;
    overflow: hidden;
    line-height: 12px;

    &.vip {
      font-size: 27px;
      color: #fe672e;
    }

    &.sq {
      font-size: 27px;
      color: $color;
    }

    &.mv {
      font-size: 32px;
      color: $color;
      cursor: pointer;

      &:hover {
        opacity: 0.8;
      }
    }
  }

  .artistsName {
    height: 16px;
    overflow: hidden;
    color: #929292;
    text-overflow: ellipsis;
    word-break: break-all;
    word-wrap: break-word;
    white-space: nowrap;
    flex: 1;

    span {
      padding-right: 5px;
      font-size: 12px;
      color: #929292;
      word-break: break-all;
      word-wrap: break-word;
      cursor: pointer;

      &:hover {
        color: #5f5f5f;
        text-decoration: underline;
      }
    }
  }
}

:global {
  .ant-input:focus {
    border-color: none;
    border-right-width: 1px !important;
    outline: 0;
    box-shadow: none !important;
  }

  // 分页组件样式重写
  .ant-pagination {
    display: table;
    margin: 30px auto;

    .ant-pagination-item {
      margin-left: 4px !important;
      background-color: #fff;
      border: 1px solid #e6e6e6 !important;

      a:hover {
        color: #373737;
        background-color: #f4f4f4;
      }
    }

    .ant-pagination-prev,
    .ant-pagination-next {
      margin-left: 4px !important;
      border: 1px solid #e6e6e6 !important;

      &:hover {
        background-color: #f4f4f4;

        .anticon {
          color: #373737;
          background-color: #f4f4f4;
        }
      }
    }

    .ant-pagination-disabled {
      &:hover {
        background-color: #fff;

        .anticon {
          color: #cbcbcb;
          background-color: #fff;
        }
      }
    }

    .ant-pagination-item-active {
      background-color: $color;
      border-color: $color;

      a {
        color: #fff;

        &:hover {
          color: #fff;
          background-color: $color;
        }
      }
    }

    .anticon {
      vertical-align: 0;
    }
  }
}
